home *** CD-ROM | disk | FTP | other *** search
/ BCI NET 2 / BCI NET 2.iso / archives / telecomm / bbs / rontools3.lha / Ron-Tools.No3 / ChatPage / Docfiles / ChatPage.doc next >
Encoding:
Text File  |  1994-12-12  |  16.6 KB  |  545 lines

  1.                                                            
  2.               ______ __             __   ______                
  3.              / __  // /           _/ /_ / __  /               
  4.             / /  -'/ /___ ______ /  __// /_/ /______  ______ ______
  5.            / /    / __  // __  / / /  / ____// __  / / __  // ____/
  6.           / /___ / / / // __  / / /_ / /    / __  / / /_/ // __/_
  7.           \____//_/ /_//_/ /_/ /___//_/    /_/ /_/ _\__  //_____/
  8.                                                   /_____/
  9.                                                   
  10.                                   V1.00
  11.  
  12.                    The One and Only XenoLink ChatDoor!!
  13.  
  14.                        (c)1992-1994 by Ron Klinkien
  15.  
  16. -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
  17.  
  18. ABOUT:
  19. ~~~~~
  20. This package contains a ChatDoor and some Utils for XenoLink BBS Pro. ( V1.95 ).
  21. It includes a ChatPager with two buildin Chatters ( a FullScreen and a Split-
  22. Screen Chatter ), and some utils to play sounds, change settings etc ...
  23.  
  24.  
  25.  
  26. COPYRIGHTS:
  27. ~~~~~~~~~~
  28. This software is released as Public Domain software and is freely distributable.
  29. ( So NO 'ShareWare' Strings attached ;-) )
  30.  
  31.  
  32.  
  33. REQUIREMENTS:
  34. ~~~~~~~~~~~~
  35. Any Amiga with WB2.04 and XenoLink BBS Pro V1.95 running on it.
  36.  
  37.  
  38.  
  39. PACKAGE CONTENTS:
  40. ~~~~~~~~~~~~~~~~
  41. This package contains the following directories:
  42.  
  43. ----------------------------- The root directory: ------------------------------
  44.  
  45. - ChatPage             The Main Program containing the Chatters and Pager.
  46. - DSound               A 3rd party 8svx sound player.
  47.  
  48. ---------------------------- The Config directory: -----------------------------
  49.  
  50. ( These files should be installed in XCONFIG:ChatPage/ )
  51.  
  52. - ChatPage.cfg         The config file holds all main parameters for ChatPage.
  53.  
  54. - ChatPage.cfg.Dutch   Dutch version of main config file.
  55.  
  56. - BadUsers.cfg         This file contains a list of Users which are never allowed
  57.                        to Page the SysOp.
  58.  
  59. - GreatUsers.cfg       This file contains the Users which are allways allowed to
  60.                        Page the SysOp.
  61.  
  62. - Macros.cfg           Put your favorite macros here to use in the FullScreen-
  63.                        chatter.
  64.  
  65. - Messages.cfg         This new configfile holds the messages for the listview
  66.                        gadget in the requester.
  67.  
  68.  
  69. -------------------------- The TextScreens directory: --------------------------
  70.  
  71. ( These files should be installed in DOORS:ChatPage/TextScreens/ )
  72.  
  73. This directory contains some screen examples, view them with an ansi editor.
  74. They are optional. If ChatPage finds a screen for a given hour it displays it
  75. instead of the normal buildin text strings.
  76.  
  77.  
  78. ---------------------------- The Samples directory: ----------------------------
  79.  
  80. ( These files should be installed in DOORS:ChatPage/Samples/ )
  81.  
  82. This directory contains some audio sample examples, you can play them with the
  83. supplied 8svx player.
  84. These files are optional, they are used with the 3rd Party Soundplayer DSound.
  85.  
  86.  
  87. ---------------------------- The Docfiles directory: ---------------------------
  88.  
  89. ( These files can be installed in DOORS:ChatPage/Docfiles/  ( if you want to ) )
  90.  
  91. - QuickSetup.doc       The installation part of ChatPage.doc
  92.  
  93. - ToDo.txt             Some future thoughts :)
  94.  
  95. - ChatPage.doc         Yep, you're reading it now ;-)
  96.  
  97. - History.txt          Describing the life of my Chatter.
  98.  
  99.  
  100.  
  101. ---------------------------- The ChatUtils directory: ---------------------------
  102.  
  103. ( These files can be installed somewhere in your path ( if you want to ) )
  104.  
  105.  
  106. - PageStat             Executable to alter the PageStatus ( with small GUI )
  107.  
  108. - PageENV              Executable to alter the PageStatus ( for use from Shell )
  109.  
  110. - PageLogIn            Executable to run as CliDoor to Display ChatStatus to User
  111.                        at LogIn.
  112.  
  113.  
  114. INSTALLATION:
  115. ~~~~~~~~~~~~
  116.  
  117. Read the QuickSetup.doc for this.
  118.  
  119.  
  120. EXPLAINING THE CONFIG FILES:
  121. ~~~~~~~~~~~~~~~~~~~~~~~~~~~
  122.  
  123. XCONFIG:ChatPage/ChatPage.cfg
  124. ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  125. #
  126. #    ChatPage V1.00  ©1992-1994 Ron Klinkien
  127. #    Main Configuration file... (ENGLISH VERSION)
  128. #
  129.  
  130. OnBBSScreen ACT
  131.  
  132. This entry will determine on which screen the Pager window will be opened on.
  133.  
  134. YES - the window will be opened on the Xenolink screen of the Node thats Paging.
  135. NO  - the default PublicScreen (WorkBench) will be used for that...
  136. ACT - the active window will be used to open on...
  137.  
  138.  
  139. BeepPause 80
  140.  
  141. This number will be the delay between the DisplayBeeps in 50th of a Second..
  142. You only have to change it if you play very long samples...
  143.  
  144.  
  145. LogFile 2
  146.  
  147. The verbosity of the LogFile(s)
  148.  
  149. 0 - There will not be any LogFile written...
  150. 1 - Only ChatPage Calls (If possible with Page Reason)
  151. 2 - The above including a Capture file that will be written to the
  152.     XLOG:ChatPage/  The Filename will be the UserName of the User Chatting...
  153.  
  154.  
  155. AskReason YES
  156.  
  157. Ask the User for a ChatReason before Paging..?
  158.  
  159. NO      - Yep, you guessed it right..
  160. YES     - He must fill in something...
  161. ALWAYS  - Even if you are not available he can fill in something, so you can read
  162.           it in the logfile afterwards...
  163.  
  164.  
  165. ANSIMenu 1
  166.  
  167. This value stands for the lowest ANSI(Color) menu you have set up. eg. With menus
  168. higher than 1 ChatPage will use color output, below 1 the output is b&w...
  169.  
  170.  
  171. WriteMsg 3
  172.  
  173. You can let ChatPage write AutoPost to you, when you have not answered the call.
  174.  
  175. 0 - Never write AutoPost.
  176. 1 - Only when available but not answered calls...
  177. 2 - Write always a message when someone is trying to page you...
  178. 3 - Start External Editor when Exiting ChatPage (see also EditorKey Flag)
  179.  
  180.  
  181. MSGSection 0
  182.  
  183. This is the message section to let ChatPage write the mail to.
  184. (Must be a Local Msg Area. eg. Sysop Only area...)
  185.  
  186.  
  187. SysOpName RON_KLINKIEN
  188.  
  189. Fill in your own name here!
  190. To this person the Msgs will be written to..
  191. (Watch the "_" instead of spaces!!)
  192.  
  193.  
  194. SysOpInit SYS>
  195.  
  196. The initials which will be used for you in the FullScreen Chatter...
  197. Comment out this line in the config to let ChatPage calculate your initials
  198. out of your UserName...
  199.  
  200.  
  201. UserColor 2
  202.  
  203. The Color of the Text typed in by the User in the FullScreen Chatter
  204.  
  205. (0-7) 
  206.  
  207.  
  208. SysOpColor 7
  209.  
  210. The same for the Text typed by you...
  211.  
  212. (0-7)
  213.  
  214.  
  215. UseMacros YES
  216.  
  217. Use Macros in the FullScreenChatter (see Macros.cfg)
  218.  
  219.  
  220. EditorKey L
  221.  
  222. The MenuKey in your BBS-menus to start 'Leave Comment to SysOp...'
  223. NOTE: This must be the same in all the menus where ChatPage can be started from.
  224.  
  225.  
  226. YesKey y
  227.  
  228. The "Yes" key to answer questions with...
  229. (Remember to change the question lines accordingly)
  230.  
  231.  
  232. NoKey n
  233.  
  234. The "No" key to answer questions with...
  235. (Remember to change the question lines accordingly)
  236.  
  237.  
  238. SoundPlayer DOORS:ChatPage/DSound -2 -w DOORS:ChatPage/Samples/Bullfrog
  239.  
  240.  
  241. Here you can place your own event which will be activated during paging.
  242. You can use the suplied DSound 8svx sound player.
  243. Or execute an arexx program to activate upd, or an module player.
  244.  
  245. If you leave this entry blank, the normal displaybeep () will be used to page
  246. you.
  247.  
  248.  
  249.  
  250. The next entries are Text Configs for various Questions inside ChatPage...
  251. I'll think they explain thereself...
  252.  
  253. DontKnow Don't you know a better reason to Chat?
  254. PressReturn Press any Key to Return to the BBS!
  255. ReallyCall Do you Really want to Call the SysOp? (Y/n)
  256. CallAgain Do you want to Call the SysOp again ? (y/N)
  257. PressToCont Press any Key to Continue...
  258. WritingMSG Writing message to the SysOp...
  259. WritingDBG Writing Config-Settings to File...
  260. DumpDBG Do you want to Dump the Config to a File? (y/N)
  261. CallSysOp Let's call the SysOp right Now!
  262. QuestLine1 Hello
  263. QuestLine2 Tell me, what do you want to Chat about?
  264. ChatHello Hello! The SysOp is now Online for a Chat...
  265. ChatQuit Quit this Chat session? (Y/n)
  266. AskChat Enter a ChatReason anyway? (Y/n)
  267. UseEditor Would you like to Write a Msg to the SysOp? (y/N)
  268.  
  269.  
  270. The following part configures the buildin scheduler of ChatPage.
  271.  
  272. # The Scheduler Config Part
  273. # . = Available, S = Sleeping, B = Busy, N = Not Home, T = TimeList (UnAvail)
  274. #
  275. #    0 0 0 0 0 0 0 0 0 1 1 1 1 1 1 1 1 1 1 2 2 2 2 2
  276. #    1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4
  277. Sun SSSSSSSSSSSSSSSSSSS...........................SS
  278. Mon SSSSSSSSSSSSSSSTTTTTTTTTTTTTTTTTTT............SS
  279. Tue SSSSSSSSSSSSSSSTTTTTTTTTTTTTTTTTTT............SS
  280. Wed SSSSSSSSSSSSSSSTTTTTTTTTTTTTTTTTTT............SS
  281. Thu SSSSSSSSSSSSSSSTTTTTTTTTTTTTTTTTTT............SS
  282. Fri SSSSSSSSSSSSSSSTTTTTTTTTTTTTTTTTTT............SS
  283. Sat SSSSSSSSSSSSSSSSSSS...........................SS
  284.  
  285. There is an entry for each half-hour!
  286.  
  287. . = Available, S = Sleeping, B = Busy, N = Not Home, T = TimeList (UnAvail)
  288.  
  289.  
  290.  
  291. The following lines are displayed when you are Not Available or have Not Answered
  292. the Call, and no TextScreen is available in the ChatPage/Screens directory...
  293.  
  294. # AV = Available, SL = Sleeping, BS = Busy, NH = NotHome (Max 70 Chars/Line)
  295. AV The SysOp is not around.
  296. AV Please try again later today.
  297. AV Or you can leave a message if you want.
  298.  
  299. Etc, Etc..
  300.  
  301. 3 lines/Entry.. Max 70 Chars/Line
  302. These lines will be automagically centered, so don't worry ;-)...
  303.  
  304.  
  305.  
  306. XCONFIG:ChatPage/BadUsers.CFG
  307. ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  308. #
  309. #    ChatPage V1.00  ©1992-1994 Ron Klinkien
  310. #    BadUsers Configuration file...
  311. #
  312. # These Users will Never disturb you... ;)
  313.  
  314. Harry_the_hacker
  315. The_Police
  316. Etc_Etc
  317.  
  318.  
  319. If you have users you don't wanna Chat with, add their names to this list... ;-)
  320. This way you will always be unavailable for them..
  321. (Watch the "_" instead of Spaces!)
  322.  
  323. If you don't wanna use this feature you can delete this file or leave it empty,
  324. this option will then be ignored.
  325.  
  326.  
  327. XCONFIG:ChatPage/GreatUsers.CFG
  328. ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  329. #
  330. #    ChatPage V1.00  ©1992-1994 Ron Klinkien
  331. #    GreatUsers Configuration file...
  332. #
  333. # These Users can Always disturb you... ;( ;)
  334.  
  335. Jonathan_Forbes ;-)
  336. All_Xenolink_SysOps
  337. Etc_Etc
  338.  
  339. Only _these people_ can always page you... ;)
  340.  
  341.  
  342. THE PAGESTAT UTIL:
  343. ~~~~~~~~~~~~~~~~~
  344. Run PageStat to set the Page Status...
  345. It will open on your WorkBench screen (this will change when Z4 is alive)
  346. In the iconified titlebar you see you current status:
  347.  
  348. TL for Timelist (Not Available) \
  349. SL for Sleeping ( "      "    )
  350. BS for Busy     ( "      "    )   (except for Users listed in GreatUsers.CFG)   
  351. NH for Not Home ( "      "    ) /
  352.  
  353. AV for Available  (except for Users listed in BadUsers.CFG)
  354. SH for using the Scheduler
  355.  
  356. When you want to change your Page Status in Shell/CLI mode or by an Cron Utility
  357. at any time you want, the only thing you have to do is set the ENV: variable to 
  358. one of the following:
  359.  
  360.  
  361. SetENV ChatStatus TIMELIST  (When you want to use the 3-line msgs from
  362.                               ChatPage.CFG or display the screens if they exists)
  363.                   ASLEEP    (When you are Sleeping ZZZzzz)...
  364.                   NOTHOME   (When you are at the pub ;-)
  365.                   VERY BUSY (When you are Very Busy with your GirlFriend ;-)     
  366.                   SCHEDULER (When you want ChatPage to use its scheduler)
  367.  
  368. SetENV ChatStatus ""        (to set the Status to Available...)
  369.  
  370.  
  371. THE PAGEENV UTIL:
  372. ~~~~~~~~~~~~~~~~
  373. If you want to set the ChatStatus ENV from a Cron file use this executable.
  374. I have written this small util to save the Variable also to ENVARC: since SetENV
  375. only sets the ENV: part... And after a reboot the status was lost...
  376.  
  377. When you want to change your Page Status in Shell/CLI mode or by an Cron Utility
  378. at any time you want, the only thing you have to do is set the ENV: variable to 
  379. one of the following:
  380.  
  381. PageENV >NIL: AV    - You are available...
  382.               SL    - Sleeping zzzZZZZ...
  383.               NH    - Not Home...
  384.               BS    - Very Busy...
  385.               TL    - Not Available, use 3line Msgs from .cfg file...
  386.               SH    - Use scheduler
  387.  
  388.  
  389. THE PAGELOGIN UTIL:
  390. ~~~~~~~~~~~~~~~~~~
  391. I have written this util in a few minutes to use in my script when a user logs in.
  392. They can see what the status of chatpage is without starting ChatPage...
  393.  
  394. Run it with CLIDoor "Xenolink:Utilities/3rdparty/PageLogIn" in your MainMenu (if
  395. you have made a fake mainmenu you can use this otherwise this util is useless)
  396.  
  397.  
  398. TEXTSCREENS:
  399. ~~~~~~~~~~~
  400. Instead of the small three line msgs configured in the ChatPage.CFG you can use
  401. full height ANSI/TXT screens!!
  402.  
  403. The only thing you have to do is create those screens and put them in the
  404. DOORS:ChatPage/Screens/ directory...
  405.  
  406. Their name could be xx.TXT or xx.GR1
  407.  
  408. Where 'xx' can be one of the following:
  409.  
  410. SL, AV, BS, NH, VB and 00 through 23 also BYE.TXT or BYE.GR1 is used which will be
  411. displayed after chatting...
  412.  
  413. When the User online has ANSI enabled the .GR1 screens will be used, if that doesn't
  414. exists the .TXT file will be displayed...
  415.  
  416. So you can max. make 60 screens!! Fire up those ANSI editors ;-)
  417. But you can also use only a few (the important ones) offcourse.. its up to you.
  418.  
  419.  
  420.  
  421. THE SPLITSCREEN CHATTER:
  422. ~~~~~~~~~~~~~~~~~~~~~~~
  423. With this chatter the User and the SysOp can type at the same time, the screen is
  424. divided in two smaller sections the upper one for u and the lower one for the User.
  425.  
  426. When you start the Chatter (either by starting SplitChat or clicking the
  427. SplitChat button in the Pager requester) you also see a little window in the upper
  428. right corner of your screen, this is used to get the SysOp text input (Idea by Wim
  429. Rumping) it must therefore be active when YOU type!
  430.  
  431. NOTE: This is not one of the most efficient ways, but I don't know if and how
  432.       the GetKeyBoardMsg routine works (I'll hope this is fixed in Z4!!) Is it JF?
  433.  
  434. EXIT CHAT: You (or the User) can Quit the SplitChatter by typing a / on an
  435.            empty line.
  436.  
  437.  
  438.  
  439. THE FULLSCREEN CHATTER:
  440. ~~~~~~~~~~~~~~~~~~~~~~~
  441. This is a 'one at a time' chatter like the buildin chatter, except that this one
  442. features initials before the lines, and a Buffered Capture Function...
  443.  
  444. You can start it by starting FullChat, or by clicking the FullChat button in the
  445. Pager requester...
  446.  
  447. Some welcome line will be displayed and you can start typing, to change the chat-
  448. person type 2x return key...
  449.  
  450. EXIT CHAT: You (or the User) can Quit the FullChatter by typing a / on an empty line.
  451.  
  452.  
  453.  
  454.  
  455. BUFFERED CAPTURE FILE:
  456. ~~~~~~~~~~~~~~~~~~~~~
  457. The Full- and the SplitScreen Chatter use both an Buffered Capture File...
  458.  
  459. The ChatText will be stored in XLOG:ChatPage/<User_Name>.LOG and is buffered with
  460. a 8Kb buffer...
  461.  
  462. You can Dis/Enable this option with the LogFile Flag in ChatPage.cfg
  463.  
  464.  
  465.  
  466. DEBUGGING OPTIONS:
  467. ~~~~~~~~~~~~~~~~~
  468. If you feel that the settings are not functioning the way it should be, you can
  469. generate an debug file by Starting ChatPage yourself (with level 255) and answer
  470. 'No' to 'Do you Really want to Call the SysOp? (Y/n)' then answer 'Yes' to
  471. 'Do you want to Dump the Config to a File? (y/N)' then examine the
  472. XLOG:ChatPage/ChatPage.dbg file and check it against your ChatPage.CFG file...
  473.  
  474.  
  475.  
  476. RETURN CODES:
  477. ~~~~~~~~~~~~
  478. When the Pager or the Chatters are quitting without doing anything usefull
  479. check your CALL-x.LOG file for the return codes of them...
  480.  
  481. These are implemented:
  482.  
  483.  0 - Everything is OK so don't worry...be happy ;)
  484.  1 - Needs KS2.04 or higher to work.
  485.  2 - Not started as a Xenolink Door
  486.  3 - Could not open XCONFIG:ChatPage/ChatPage.CFG file...
  487.  4 - Could not open the xenolink.library...
  488.  5 - Could not get the Shared Data
  489.  6 - Could not open the gadtools.library V37+...
  490.  7 - LostCarrier() while asking for Chatreason!
  491.  8 - Cannot open the Pager Window on the PublicScreen.
  492.  9 - LostCarrier() while Paging for SysOp.
  493. 10 - Cannot create/write DEBUG info to XLOG:ChatPage/ChatPage.DBG
  494. 11 - LostCarrier() by SysOp while SplitChatting
  495. 12 - LostCarrier() by User while SplitChatting
  496. 13 - LostCarrier() while FullChatting...
  497. 14 - Cannot create/write XLOG:ChatPage/ChatPage.LOG
  498. 15 - Cannot create/write Capture File...
  499. 16 - Cannot AllocVec for File Buffer...
  500. 17 - Cannot lock Public Screen...
  501. 18 - Cannot get the Visual Info
  502. 19 - Cannot Create Context
  503. 20 - Cannot open Pager Window on BBS Screen
  504. 21 - Out of Memory while Creating MacroList
  505. 22 - Out of Memory while Creating MacroNodes...
  506. 23 - Out of Memory while Creating MessageList...
  507. 24 - Out of Memory while Creating MessageNode...
  508.  
  509.  
  510. BUGS:
  511. ~~~~
  512. Known Bugs...
  513. This package has so far been tested on a A500/68010/3.5MBMEM/KS2.04/WB2.1
  514. and on a A2000/A2630/7MBMEM/KS3.1/WB3.1 system...
  515. No Enforcer or Mungwall hits detected so far ;) ...
  516.  
  517.  
  518. HOW TO REACH THE AUTHOR:
  519. ~~~~~~~~~~~~~~~~~~~~~~~
  520. Ron Klinkien
  521. Amiga Hardware BBS
  522. The Netherlands (Europe)
  523. Phone +31-(0)1840-17373 (BBS)
  524. 24Hrs/Day USRobotics V34 DualStd, IBM 0662 1.05Gb & Conner 540Mb HD Online
  525.  
  526. Featuring: GnuCC, '030/040 utils, TeX/PS, Hardware Hacks, JPeg/HAM8 Pics, Linux68K
  527.            & New AmiNet RECENT file every weekend! ...
  528.  
  529. Write a message in the XENOLINK FidoEchos...
  530. or address an NetMail Message to:
  531.  
  532.  FIDONet:  2:285/302
  533.   NLANet: 14:100/103
  534.   GERNet: 21:103/33
  535.  
  536.   E-Mail: ron@ahwbbs.xs4all.nl
  537.  
  538. o Any suggestions, Bug Reports? Let's hear them... ;-)
  539.  
  540.  
  541. THANKS TO:
  542. ~~~~~~~~~
  543.  
  544. Tom de Ruyter, Frank Sloep and Roy Aberkrom for their PostCards!
  545.